home *** CD-ROM | disk | FTP | other *** search
/ CU Amiga Super CD-ROM 5 / CU Amiga Magazine's Super CD-ROM 05 (1996)(EMAP Images)(GB)(Track 1 of 2)[!][issue 1996-12].iso / cucd / programming / aros / dev / graphics / initrastport.c < prev    next >
Encoding:
C/C++ Source or Header  |  1996-09-12  |  1.0 KB  |  57 lines

  1. /*
  2.     (C) 1995 AROS - The Amiga Replacement OS
  3.     $Id: initrastport.c,v 1.1 1996/08/15 14:38:23 digulla Exp $    $Log
  4.     Desc:
  5.     Lang: english
  6. */
  7. #include "graphics_intern.h"
  8. #include <graphics/rastport.h>
  9. #include <string.h>
  10.  
  11. void driver_InitRastPort (struct RastPort *, struct GfxBase *);
  12.  
  13. /*****************************************************************************
  14.  
  15.     NAME */
  16.     #include <clib/graphics_protos.h>
  17.  
  18.     __AROS_LH1(void, InitRastPort,
  19.  
  20. /*  SYNOPSIS */
  21.     __AROS_LHA(struct RastPort *, rp, A1),
  22.  
  23. /*  LOCATION */
  24.     struct GfxBase *, GfxBase, 33, Graphics)
  25.  
  26. /*  FUNCTION
  27.  
  28.     INPUTS
  29.  
  30.     RESULT
  31.  
  32.     NOTES
  33.  
  34.     EXAMPLE
  35.  
  36.     BUGS
  37.  
  38.     SEE ALSO
  39.  
  40.     INTERNALS
  41.  
  42.     HISTORY
  43.     29-10-95    digulla automatically created from
  44.                 graphics_lib.fd and clib/graphics_protos.h
  45.  
  46. *****************************************************************************/
  47. {
  48.     __AROS_FUNC_INIT
  49.     __AROS_BASE_EXT_DECL(struct GfxBase *,GfxBase)
  50.  
  51.     memset (rp, 0, sizeof (struct RastPort));
  52.  
  53.     driver_InitRastPort (rp, GfxBase);
  54.  
  55.     __AROS_FUNC_EXIT
  56. } /* InitRastPort */
  57.